package com.hkbigdata.springbootdi.mapper;

import org.elasticsearch.search.aggregations.AbstractAggregationBuilder;
import org.springframework.data.elasticsearch.core.SearchHits;

/**
 * @author liuanbo
 * @creat 2024-12-13-13:49
 * @see 2194550857@qq.com
 */
public interface ESDao {

 <T>  SearchHits<T> queryFromES(AbstractAggregationBuilder agg, Class<T> t);
}
